// stdafx.h : include file for standard system include files,
// or project specific include files that are used frequently, but
// are changed infrequently
//

#pragma once

#include "targetver.h"

#define WIN32_LEAN_AND_MEAN             // Exclude rarely-used stuff from Windows headers

// Windows Header Files:

#include <windows.h>

// C RunTime Header Files
#include <stdlib.h>
#include <malloc.h>
#include <memory.h>
#include <tchar.h>
#include <fstream>
#include <list>
#include <stdio.h>
#include <vector>
#include <Commdlg.h>
#include <math.h>
#include <CommCtrl.h>
#include <string>
#include <algorithm>
// TODO: reference additional headers your program requires here


// define
#define _ALLOW_SELECT_		1
#define _ALLOW_DRAW_		2


//type
#define _PENCOLOR_			3
#define _BRUSHCOLOR_		4
#define _PENWIDTH_			5
#define _PATTERN_			6
#define _PENSTYLE_			7


//pattern
#define _NASHAPE_			40
#define _RECTANGLE_			41
#define _CIRCLE_			42
#define _TRIANGLE_			43
#define _LINE_				44
#define _ROUNDRECTANGLE_	45
#define _TEXT_				46

//menu
#define _MENUVIEW_			1
#define _MENUDRAW_			2

// position 
#define _LEFTTOP_			888
#define _LEFTBOTTOM_		889
#define _RIGHTTOP_			890
#define _RIGHTBOTTOM_		891
#define _MIDDLELEFTRIGHTTOP_  892

// Window boundary
const int _TOPWINDOW_ = 40;
const int _BOTTOMWINDOW_ = 660;
const int _LEFTWINDOW_ = 0;
const int _RIGHTWINDOW_ = 1366;
